package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * 请求对象
 */
@ApiModel(description = "请求对象")
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class CustomerRightsAll   {
  @JsonProperty("stock_opt")
  private String stockOpt = null;

  @JsonProperty("sh_a")
  private String shA = null;

  @JsonProperty("rzrq")
  private String rzrq = null;

  @JsonProperty("xsb")
  private String xsb = null;

  @JsonProperty("sz_hk")
  private String szHk = null;

  @JsonProperty("sh_hk")
  private String shHk = null;

  @JsonProperty("sz_b")
  private String szB = null;

  @JsonProperty("sh_b")
  private String shB = null;

  @JsonProperty("cyb")
  private String cyb = null;

  @JsonProperty("sz_a")
  private String szA = null;

  public CustomerRightsAll stockOpt(String stockOpt) {
    this.stockOpt = stockOpt;
    return this;
  }

  /**
   * 个股期权
   * @return stockOpt
  **/
  @ApiModelProperty(example = "0", value = "个股期权")


  public String getStockOpt() {
    return stockOpt;
  }

  public void setStockOpt(String stockOpt) {
    this.stockOpt = stockOpt;
  }

  public CustomerRightsAll shA(String shA) {
    this.shA = shA;
    return this;
  }

  /**
   * 上证A股
   * @return shA
  **/
  @ApiModelProperty(example = "0", value = "上证A股")


  public String getShA() {
    return shA;
  }

  public void setShA(String shA) {
    this.shA = shA;
  }

  public CustomerRightsAll rzrq(String rzrq) {
    this.rzrq = rzrq;
    return this;
  }

  /**
   * 融资融券
   * @return rzrq
  **/
  @ApiModelProperty(example = "0", value = "融资融券")


  public String getRzrq() {
    return rzrq;
  }

  public void setRzrq(String rzrq) {
    this.rzrq = rzrq;
  }

  public CustomerRightsAll xsb(String xsb) {
    this.xsb = xsb;
    return this;
  }

  /**
   * 新三板
   * @return xsb
  **/
  @ApiModelProperty(example = "0", value = "新三板")


  public String getXsb() {
    return xsb;
  }

  public void setXsb(String xsb) {
    this.xsb = xsb;
  }

  public CustomerRightsAll szHk(String szHk) {
    this.szHk = szHk;
    return this;
  }

  /**
   * 港股通
   * @return szHk
  **/
  @ApiModelProperty(example = "0", value = "港股通")


  public String getSzHk() {
    return szHk;
  }

  public void setSzHk(String szHk) {
    this.szHk = szHk;
  }

  public CustomerRightsAll shHk(String shHk) {
    this.shHk = shHk;
    return this;
  }

  /**
   * 科创板
   * @return shHk
  **/
  @ApiModelProperty(example = "0", value = "科创板")


  public String getShHk() {
    return shHk;
  }

  public void setShHk(String shHk) {
    this.shHk = shHk;
  }

  public CustomerRightsAll szB(String szB) {
    this.szB = szB;
    return this;
  }

  /**
   * 深证B股
   * @return szB
  **/
  @ApiModelProperty(example = "0", value = "深证B股")


  public String getSzB() {
    return szB;
  }

  public void setSzB(String szB) {
    this.szB = szB;
  }

  public CustomerRightsAll shB(String shB) {
    this.shB = shB;
    return this;
  }

  /**
   * 上证B股
   * @return shB
  **/
  @ApiModelProperty(example = "0", value = "上证B股")


  public String getShB() {
    return shB;
  }

  public void setShB(String shB) {
    this.shB = shB;
  }

  public CustomerRightsAll cyb(String cyb) {
    this.cyb = cyb;
    return this;
  }

  /**
   * 创业板
   * @return cyb
  **/
  @ApiModelProperty(example = "0", value = "创业板")


  public String getCyb() {
    return cyb;
  }

  public void setCyb(String cyb) {
    this.cyb = cyb;
  }

  public CustomerRightsAll szA(String szA) {
    this.szA = szA;
    return this;
  }

  /**
   * 深证A股
   * @return szA
  **/
  @ApiModelProperty(example = "0", value = "深证A股")


  public String getSzA() {
    return szA;
  }

  public void setSzA(String szA) {
    this.szA = szA;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CustomerRightsAll customerRightsAll = (CustomerRightsAll) o;
    return Objects.equals(this.stockOpt, customerRightsAll.stockOpt) &&
        Objects.equals(this.shA, customerRightsAll.shA) &&
        Objects.equals(this.rzrq, customerRightsAll.rzrq) &&
        Objects.equals(this.xsb, customerRightsAll.xsb) &&
        Objects.equals(this.szHk, customerRightsAll.szHk) &&
        Objects.equals(this.shHk, customerRightsAll.shHk) &&
        Objects.equals(this.szB, customerRightsAll.szB) &&
        Objects.equals(this.shB, customerRightsAll.shB) &&
        Objects.equals(this.cyb, customerRightsAll.cyb) &&
        Objects.equals(this.szA, customerRightsAll.szA);
  }

  @Override
  public int hashCode() {
    return Objects.hash(stockOpt, shA, rzrq, xsb, szHk, shHk, szB, shB, cyb, szA);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CustomerRightsAll {\n");
    
    sb.append("    stockOpt: ").append(toIndentedString(stockOpt)).append("\n");
    sb.append("    shA: ").append(toIndentedString(shA)).append("\n");
    sb.append("    rzrq: ").append(toIndentedString(rzrq)).append("\n");
    sb.append("    xsb: ").append(toIndentedString(xsb)).append("\n");
    sb.append("    szHk: ").append(toIndentedString(szHk)).append("\n");
    sb.append("    shHk: ").append(toIndentedString(shHk)).append("\n");
    sb.append("    szB: ").append(toIndentedString(szB)).append("\n");
    sb.append("    shB: ").append(toIndentedString(shB)).append("\n");
    sb.append("    cyb: ").append(toIndentedString(cyb)).append("\n");
    sb.append("    szA: ").append(toIndentedString(szA)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

